@Slf4j
@Service
public class ${noPrefixClassName}ServiceImpl implements   I${noPrefixClassName}Service {

    @Autowired
    private I${noPrefixClassName}Dao ${noPrefixClassName?uncap_first}Dao;

    @Autowired
    private I${noPrefixClassName}Mapper ${noPrefixClassName?uncap_first}Mapper;



    @Override
    public PageResult<${noPrefixClassName}Entity> find${noPrefixClassName}ListByParams(Map<String, Object> params) {
        //分页
        Page page = new Page(MapUtils.getInteger(params, "pageCurrent"), MapUtils.getInteger(params, "pageSize"));
        //查询
        IPage<${noPrefixClassName}Entity> list = ${noPrefixClassName?uncap_first}Mapper.find${noPrefixClassName}ListByParams(page, params);
        //返回结果
        return PageResult.<${noPrefixClassName}Entity>builder().data(list.getRecords()).code(0).total(page.getTotal()).build(); }
 }
<#--去除前缀 加  XXServiceImpl     IXXService-->